﻿#pragma once
#include "PropertyEditEntry.h"

class TableWidgetPropertyEditEntry : public PropertyEditEntry {
    Q_OBJECT
public:
    explicit TableWidgetPropertyEditEntry(QWidget *parent = nullptr);
    TableWidgetPropertyEditEntry(void *object, QWidget *parent = nullptr);
    ~TableWidgetPropertyEditEntry();
    void setObject(void *object) override;

protected:
    void onTick() override;

private:
    void initUi();
    void retranslateUi();

private:
    struct TableWidgetPropertyEditEntryPrivate;
    QScopedPointer<TableWidgetPropertyEditEntryPrivate> p;
};
